home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 886 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Binary Tree and MSC/C++7.00
  5. Date: Tue, 09 Jan 96 20:29:53 GMT
  6. Organization: none
  7. Distribution: world
  8. Message-ID: <821219393snz@genesis.demon.co.uk>
  9. References: <HAKOLA.96Jan7002825@lk-hp-16.hut.fi> <1s+9WFAWzT8wEwN7@harden.demon.co.uk> <TANMOY.96Jan8095256@qcd.lanl.gov>
  10. Reply-To: fred@genesis.demon.co.uk
  11. X-NNTP-Posting-Host: genesis.demon.co.uk
  12. X-Newsreader: Demon Internet Simple News v1.27
  13. X-Mail2News-Path: genesis.demon.co.uk
  14.  
  15. In article <TANMOY.96Jan8095256@qcd.lanl.gov>
  16.            tanmoy@qcd.lanl.gov "Tanmoy Bhattacharya" writes:
  17.  
  18. >--text follows this line--
  19. >In article <1s+9WFAWzT8wEwN7@harden.demon.co.uk> Mark Harden
  20. ><mark@harden.demon.co.uk> writes: 
  21. >
  22. >   strncat doesn't always append a '\0' character.  Do it yourself with
  23. >
  24. >It does in ANSI!
  25.  
  26. It is worth pointing out that it is strncpy, not strncat that doesn't always
  27. terminate the written character sequence with a null character.
  28.  
  29. -- 
  30. -----------------------------------------
  31. Lawrence Kirby | fred@genesis.demon.co.uk
  32. Wilts, England | 70734.126@compuserve.com
  33. -----------------------------------------
  34.